
#include "base/Application.h"
#include "base/System.h"
#include "base/EulerSystem.h"
#include "mesh/GeneratedMesh.h"
#include "ic/InitCondition.h"
#include "output/VTKOutput.h"
int main(int argc, char* argv[])
{
	Application app;

	app.SetInputFile("input.pot");
	
	app.CreateMesh(Parameter{});
	app.CreateSystem(Parameter{});
	app.InitSystem();
	Parameter p;
	p.add<Application*>("_app", &app);
	p.add<UInt32>("interval", 2);

	auto output = std::make_shared<VTKOutput>(p);
	app.GetOutputContainer().Add(output);

	app.Run();

	return 0;
}

